body {
  margin: 0;
}

.hollow {
  opacity: 0;
  pointer-events: none;
}

#app {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#sketch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.loader-screen {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  background: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-canvas-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.loading-canvas-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.loading-percentage {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 颜色选择器样式 */
.color-picker {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(253, 251, 251, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.color-option {
  width: 30px;
  height:30px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.color-option:hover{
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(253, 251, 255, 0.5);
}

.color-option.active{
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  transform: scale(1.15);
}

/* 车辆标题样式 */
.car-title {
  position: fixed;
  top: 80px;
  left:50%;
  z-index: 10;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  pointer-events: none;
  max-width: 800px;
  transform: translateX(-50%);
}

.car-title-main {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  line-height: 1;
  margin-left: 10%;
  white-space: nowrap;
}

.car-title-main1 {
  font-size: 1rem;
  font-weight: 200;
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  opacity: 0.9;
}
.car-title-main2 {
  font-size: 1rem;
  font-weight: 200;
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  opacity: 0.9;
  color: #f5a623;
}

.car-title-highlight {
  font-size: 1.5rem;
  font-weight: 200;
  margin: 20px 0;
  letter-spacing: 0.05em;
  color: #f5a623;
  text-align: center;
  line-height: 1;
  text-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}
.car-title-highlight1 {
  font-size: 1rem;
  font-weight: 200;
  /* letter-spacing: 0.02em; */
  color: #f5a623;
  text-align: center;
  line-height: 0;
  text-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}
.car-title-sub1 {
  font-size: 0.8rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  opacity: 0.85;
  text-align: center;
}
.car-title-sub {
  font-size: 0.9rem;
  font-weight: 300;
  margin: 8px 0 0 0;
  letter-spacing: 0.1em;
  opacity: 0.85;
  text-align: center;
}

.car-title-desc {
  font-size: 0.9rem;
  font-weight: 300;
  margin: 16px 0 0 0;
  letter-spacing: 0.05em;
  opacity: 0.75;
  text-align: center;
  line-height: 1.6;
  max-width: 550px;
  white-space: pre-line;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .car-title {
    top: 40px;
    left: 30%;
    transform: translateX(-50%);
    max-width: 100%;
  }
  
  .car-title-main {
    font-size: 2.5rem;
  }
    
  .car-title-main1 {
    font-size: 1rem;
  font-weight: 200;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  line-height: 0.5;
  margin-left: 20%;
  white-space: nowrap;
  }
  
  .car-title-sub {
    font-size: 0.85rem;
  }
  
  .car-title-highlight {
    font-size: 2rem;
    margin: 15px 0;
  }
  
  .car-title-desc {
    font-size: 0.8rem;
    max-width: 100%;
  }
  
  .loading-percentage {
    font-size: 2rem;
  }
}

/* 车辆时间线样式 */
.car-timeline {
  position: fixed;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  pointer-events: all;
}

.timeline-line {
  position: absolute;
  left: 90%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 10%,
    rgba(255, 255, 255, 0.3) 90%,
    transparent 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-dot {
  position: relative;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: right;
  flex-shrink: 0;
}

.timeline-inner-dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.timeline-outer-ring {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.3s ease;
  z-index: 1;
}

.timeline-label {
  color: white;
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 激活状态 */
.timeline-item.active .timeline-inner-dot {
  background: #ff6b2c;
  box-shadow: 0 0 12px rgba(255, 107, 44, 0.6);
}

.timeline-item.active .timeline-outer-ring {
  border-color: #ff6b2c;
  transform: translate(-50%, -50%) scale(1);
}

.timeline-item.active .timeline-label {

  font-size: 15px;
}

/* 悬停效果 */
.timeline-item:hover .timeline-inner-dot {
  transform: scale(1.0);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.timeline-item:hover .timeline-label {
  font-size: 15px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .car-timeline {
    right: 20px;
    gap: 40px;
  }
  
  .timeline-label {
    font-size: 13px;
  }
  
  .timeline-inner-dot {
    width: 10px;
    height: 10px;
  }
  
  .timeline-outer-ring {
    width: 20px;
    height: 20px;
  }
}

/* 车身尺寸标注样式 */
.dimension-label {
  position: absolute;
  color: white;
  font-size: 14px;
  font-family: 'Arial', sans-serif;
  background: rgba(0, 0, 0, 0.5);
 
  border-radius: 3px;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  z-index: 5;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
}

/* 音乐控制按钮 */
.music-control {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.music-control:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.music-icon {
  color: white;
  transition: all 0.3s ease;
}

.music-control.paused .music-icon {
  opacity: 0.5;
}

.music-control.paused::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 24px;
  background: white;
  transform: rotate(45deg);
  opacity: 0.7;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .music-control {
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
  }
  
  .music-icon {
    width: 20px;
    height: 20px;
  }
}

/* 雷达传感器列表样式 */
.radar-sensor-list {
  position: fixed;
  left: 80px;
  top: 50%;
  transform: translateY(-50%) translateX(-50px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.sensor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.sensor-name {
  color: rgba(255, 255, 255, 0.9);
}

.sensor-count {
  color: #ff6b2c;
  font-weight: 500;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .radar-sensor-list {
    left: 40px;
    gap: 16px;
  }
  
  .sensor-item {
    font-size: 14px;
  }
}

/* 定制视图 - SU7大字 */
.custom-su7-title {
  position: fixed;
  left: 80px;
  top: 80px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.1em;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

/* 材质调节滑块 */
.material-controls {
  position: fixed;
  left: 80px;
  top: 50%;
  transform: translateY(-50%) translateX(-50px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: all;
}

.control-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.control-slider {
  width: 180px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  border-radius: 2px;
  cursor: pointer;
}

.control-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.control-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.control-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.control-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 色相滑块特殊样式 */
.color-slider {
  background: linear-gradient(
    to right,
    #ff0000 0%,
    #ffff00 17%,
    #00ff00 33%,
    #00ffff 50%,
    #0000ff 67%,
    #ff00ff 83%,
    #ff0000 100%
  );
}

/* 响应式适配 */
@media (max-width: 768px) {
  .custom-su7-title {
    left: 40px;
    top: 40px;
    font-size: 80px;
  }
  
  .material-controls {
    left: 40px;
    gap: 16px;
  }
  
  .control-label {
    font-size: 14px;
  }
  
  .control-slider {
    width: 150px;
  }
}